package com.pureut.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/***
 * 委外订单修改 入参
 * Author:C
 * Date:2022/12/02 16:16
 * @DESC
 */
@Data
public class SubcontractingOrderUpdateVo {

    /**
     * id
     */
    private long id;

    /**
     * 物料类别
     */
    private String materialType;

    /**
     * 物料id
     */
    private long materialId;

    /**
     * BOM
     */
    private String BomCode;

    /**
     * 关联单号
     */
    private String associatedDocNum;

    /**
     * 单据明细id
     */
    private long orderDetailId;

    /**
     * 委外重量
     */
    private String subcontractingWeight;

    /**
     * 需求时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date demandTime;

    /**
     * 物料明细列表
     */
    private List<SubcontractingOrderMaterialDetailVo> orderMaterialDetailList;

    /**
     * 加工商id
     */
    private long converterId;

    /**
     * 委外合同号
     */
    private String subcontractingContractNum;

    /**
     * 合同url
     */
    private String contractUrl;

    /**
     * 预计到货时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arrivalTime;

    /**
     * 质量标准
     */
    private String qualityStandard;

    /**
     * 总价格
     */
    private String totalExpenses;


}
